package com.wzdigit.wms.basic.client;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*;

import java.io.Serializable;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode
//@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class PagerInfo<T> implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1284458349011153979L;

	/**
	 * 页码，从1开始
	 */
	private long totalCount;
	/**
	 * 页面大小
	 */
	private T items;

}
